import Vue from "vue";
import VueRouter from "vue-router";
import Home from "@/pages/Home.vue";
import Next from "@/pages/Next.vue";

Vue.use(VueRouter);

const routes = [
  {
    path: "/",
    redirect: "/home",
  },
  
  {
    path: "/home",
    name: "home",
    component: Home
  },

  {
    path: "/next",
    name: "next",
    component: Next
  },
];

export default routes;
